Show:

Users pile Class

Renders a pile of user icons

Constructor

Users pile

(
  • options
)

Parameters:

  • options Object

    options for the tool

    • userIds Array

      the user ids of the avatars to render

    • [avatar] Object optional

      any options for the avatar tools

    • [limit=3] Number optional

      the actual number of avatars to render

    • [rotate=20] Number optional

      maximum +/- degrees of "whimsical" random rotation

    • [caption] Number | String optional

      you can use this to e.g. display some number of users, or set to null to hide it

Item Index